ASENHA\Classes\SVG_Upload S

Total Complexity 38
Dependencies 2
Dependents 1
Total lines 280
Lines of code 143
Logical lines of code 96
Comment lines 77
Methods 10
Properties 0

Methods 10

Method Rating Maintainability Complexity Lines of code
generate_svg_metadata()
S
50 6 27
sanitize_and_maybe_allow_svg_upload()
S
55 6 19
confirm_file_type_is_svg()
S
57 5 16
disable_svg_srcset()
S
60 4 14
add_svg_mime()
S
60 4 13
sanitize_after_upload()
S
60 4 13
get_svg_sanitizer()
S
57 2 17
get_svg_attachment_url()
S
66 3 8
remove_svg_responsive_image_attr()
S
66 2 8
get_svg_url_in_media_library()
S
67 2 8